package org.smog.core.exception;

import lombok.Data;
import org.smog.core.config.security.SecurityConstant;

/**
 * 禁止访问异常,无权限
 * @Description: Created by IntelliJ IDEA.
 * @project_name: smogTemp
 * @time: 2020-05-14 11:22
 * @email: 17685306043@163.com
 * @author: huangZhongYao
 */
@Data
public class ForbiddenException extends UserFriendlyException{
    public ForbiddenException(String message) {
        super(message, SecurityConstant.FORBIDDEN_CODE);
    }

}
